package com.sneaker.shower.entity.dto;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class UserDTO {

    @ApiModelProperty("用户名")
    private String userName;

    private String organizationGuid;

    private String organizationName;

    private Integer role;


    private Integer id;
    @ApiModelProperty("放入header -  USER_INFO, 客服 第一次登陆 是 没有该信息, 需输入 邀请码 后调用 /sysUser/addSysUser 接口返回")
    private String guid;
    @TableLogic
    private Byte delFlag;

    private Long cartGuid;
    private UserTypeDTO userType;
    private String sysUserGuid;
    /**
     * 会员余额
     */
    private BigDecimal amount = BigDecimal.ZERO;

    private Boolean retailFlag;
    @ApiModelProperty("放入header - USER_TYPE")
    private String typeEnc;
    private String type;


    @ApiModelProperty("openId")
    private String openId;
    @ApiModelProperty("昵称")
    private String nickName;

    private String gender;
    private String language;
    private String city;
    private String province;
    private String country;
    private String avatarUrl;
    private String unionId;

    @ApiModelProperty("备注名称")
    private String remarkName;

    private Boolean isChecked = Boolean.FALSE;

    @ApiModelProperty("邀请二维码")
    private String invitedQrCode;

    private Integer userVersion;
}
